import { RouteRecordRaw } from "vue-router"


// 招商部路由
export const MerchantsRoutesList: Array<RouteRecordRaw> = [
  {
    path: "/productSelection",
    name: "productSelection",
    component: () => import("@/views/productSelection/index.vue"),
    meta: { title: "首页", showNavbar: false, keepAlive: true },
  },
  {
    path: '/briefingProduct',
    name: 'briefingProduct',
    component: () => import('@/views/briefing/briefingProduct.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/briefingSupplier',
    name: 'briefingSupplier',
    component: () => import('@/views/briefing/briefingSupplier.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/briefingProductDetail/:id',
    name: 'briefingProductDetail',
    component: () => import('@/views/briefing/briefingProductDetail.vue'),
    meta: { title: '商品详情', showNavbar: false }
  },
  {
    path: '/editProduct/:id',
    name: 'editProduct',
    component: () => import('@/views/editProduct/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/supplierDetail/:id',
    name: 'supplierDetail',
    component: () => import('@/views/supplierDetail/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/editSupplier/:id',
    name: 'editSupplier',
    component: () => import('@/views/editSupplier/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/contract',
    name: 'contract',
    component: () => import('@/views/contract/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/addBrandQualification/:id',
    name: 'addBrandQualification',
    component: () => import('@/views/addBrandQualification/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/brandQualification/:id',
    name: 'brandQualification',
    component: () => import('@/views/brandQualification/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/editBrandQualification/:id',
    name: 'editBrandQualification',
    component: () => import('@/views/editBrandQualification/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/addProduct',
    name: 'addProduct',
    component: () => import('@/views/addProduct/index.vue'),
    meta: { title: '首页', showNavbar: false, nocache: true }
  },
  {
    path: '/addSupplier',
    name: 'addSupplier',
    component: () => import('@/views/addSupplier/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/addSupplierClass',
    name: 'addSupplierClass',
    component: () => import('@/views/addSupplierClass/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/addSupplierClassAdd/:id',
    name: 'addSupplierClassAdd',
    component: () => import('@/views/addSupplierClassAdd/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/sample',
    name: 'sample',
    component: () => import('@/views/sample/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/productDetail/:id',
    name: 'productDetail',
    component: () => import('@/views/productDetail/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/mechanismPriceChange',
    name: 'mechanismPriceChange',
    component: () => import('@/views/productDetail/mechanismPriceChange.vue'),
    meta: { title: '首页', showNavbar: false, nocache: true }
  },
  {
    path: '/orderNumber/:id',
    name: 'orderNumber',
    component: () => import('@/views/orderNumber/index.vue'),
    meta: { title: '单号填写', showNavbar: true, nocache: true }
  },
  {
    path: '/approvalHistory',
    name: 'approvalHistory',
    component: () => import('@/views/productSelection/approvalHistory.vue'),
    meta: { title: '审批历史', showNavbar: true }
  },
  {
    path: '/changeHands',
    name: 'changeHands',
    component: () => import('@/views/productList/changeHands.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/approvalDetails',
    name: 'approvalDetails',
    component: () => import('@/views/productSelection/approvalDetails.vue'),
    meta: { title: '首页', showNavbar: false }
  },

]

// 产品部路由
export const ProductRoutesList: Array<RouteRecordRaw> = [
  {
    path: "examineApprove",
    name: "ExamineApprove",
    component: () => import("@/views/productHome/examineApprove/index.vue"),
    meta: { title: "首页", showNavbar: false, keepAlive: true },
  },
  {
    path: "/examineApproveDetail",
    name: "examineApproveDetail",
    component: () => import("@/views/productHome/examineApprove/examineApproveDetail.vue"),
    meta: { title: "首页", showNavbar: false, keepAlive: true },
  },
  {
    path: '/warehouseApproval/:id',
    name: 'warehouseApproval',
    component: () => import('@/views/productHome/examineApprove/warehouseApproval.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/warehouseApprovalDeatis',
    name: 'warehouseApprovalDeatis',
    component: () => import('@/views/productHome/examineApprove/warehouseApprovalDeatis.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/warehouseApprovalSuccess',
    name: 'warehouseApprovalSuccess',
    component: () => import('@/views/productHome/examineApprove/warehouseApprovalSuccess.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/warehouseConfirmation/:id',
    name: 'warehouseConfirmation',
    component: () => import('@/views/productHome/examineApprove/warehouseConfirmation.vue'),
    meta: { title: '入库确认', showNavbar: true }
  },
  {
    path: '/addArehousingSuccess',
    name: 'addArehousingSuccess',
    component: () => import('@/views/productHome/grounding/warehousing/addArehousingSuccess.vue'),
    meta: { title: '新增入库', showNavbar: false }
  },
  {
    path: '/inventoryList',
    name: 'InventoryList',
    component: () => import('@/views/productHome/grounding/inventoryList/index.vue'),
    meta: { title: '入库列表下钻', showNavbar: false, keepAlive: true }
  },
  {
    path: '/productHomeDetail/:id',
    name: 'productHomeDetail',
    component: () => import('@/views/productHome/productLists/productHomeDetail.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/editProductDetail/:id',
    name: 'editProductDetail',
    component: () => import('@/views/productHome/productLists/editProductDetail.vue'),
    meta: { title: '编辑商品信息', showNavbar: false }
  },
  {
    path: '/grounding',
    name: 'grounding',
    component: () => import('@/views/productHome/grounding/index.vue'),
    meta: { title: '绑定货架', showNavbar: false }
  },
  {
    path: '/outboundType',
    name: 'outboundType',
    component: () => import('@/views/productHome/grounding/outbound/outboundType.vue'),
    meta: { title: '出库类型', showNavbar: false }
  },
  {
    path: '/selectAnchor',
    name: 'selectAnchor',
    component: () => import('@/views/productHome/grounding/outbound/selectAnchor.vue'),
    meta: { title: '选择电商部门', showNavbar: false }
  },
  {
    path: '/addOutbound',
    name: 'addOutbound',
    component: () => import('@/views/productHome/grounding/outbound/addOutbound.vue'),
    meta: { title: '新增出库', showNavbar: false }
  },
  {
    path: '/finishedGoods',
    name: 'finishedGoods',
    component: () => import('@/views/productHome/grounding/outbound/finishedGoods.vue'),
    meta: { title: '库存商品', showNavbar: false }
  },
  {
    path: '/inboundGoods',
    name: 'inboundGoods',
    component: () => import('@/views/productHome/grounding/warehousing/inboundGoods.vue'),
    meta: { title: '库存商品', showNavbar: false }
  },
  {
    path: '/storageType',
    name: 'storageType',
    component: () => import('@/views/productHome/grounding/warehousing/storageType.vue'),
    meta: { title: '入库类型', showNavbar: false }
  },
  {
    path: '/addArehousing',
    name: 'addArehousing',
    component: () => import('@/views/productHome/grounding/warehousing/addArehousing.vue'),
    meta: { title: '新增入库', showNavbar: false }
  },
  {
    path: '/associatedInventory',
    name: 'associatedInventory',
    component: () => import('@/views/productHome/grounding/warehousing/associatedInventory.vue'),
    meta: { title: '关联库存单', showNavbar: false }
  },
  {
    path: '/listedSuccess',
    name: 'listedSuccess',
    component: () => import('@/views/productHome/grounding/listedSuccess.vue'),
    meta: { title: '上架成功', showNavbar: false }
  },
  {
    path: '/inventoryAllocation',
    name: 'inventoryAllocation',
    component: () => import('@/views/productHome/grounding/inventoryAllocation/index.vue'),
    meta: { title: '操作类型', showNavbar: false, nocache: true }
  },
  {
    path: '/inventoryCommodity',
    name: 'inventoryCommodity',
    component: () => import('@/views/productHome/grounding/inventoryAllocation/inventoryCommodity.vue'),
    meta: { title: '盘点库位商品', showNavbar: false, keepAlive: true }
  },
  {
    path: '/inventoryGoods',
    name: 'inventoryGoods',
    component: () => import('@/views/productHome/grounding/inventoryAllocation/inventoryGoods.vue'),
    meta: { title: '库存商品', showNavbar: false }
  },
  {
    path: '/inventorySuccessful',
    name: 'inventorySuccessful',
    component: () => import('@/views/productHome/grounding/inventoryAllocation/inventorySuccessful.vue'),
    meta: { title: '盘点成功', showNavbar: false, nocache: true }
  },
  {
    path: '/allocation',
    name: 'allocation',
    component: () => import('@/views/productHome/grounding/inventoryAllocation/allocation.vue'),
    meta: { title: '更换货架', showNavbar: false }
  },
  {
    path: '/transferProductList',
    name: 'transferProductList',
    component: () => import('@/views/productHome/grounding/inventoryAllocation/transferProductList.vue'),
    meta: { title: '库存商品', showNavbar: false }
  },
  {
    path: '/transferSuccessful',
    name: 'transferSuccessful',
    component: () => import('@/views/productHome/grounding/inventoryAllocation/transferSuccessful.vue'),
    meta: { title: '调拨成功', showNavbar: false }
  },
  {
    path: '/warehousingRecord',
    name: 'warehousingRecord',
    component: () => import('@/views/productHome/revenue/warehousingRecord.vue'),
    meta: { title: '入库记录', showNavbar: true, keepAlive: true }
  },
  {
    path: '/warehousingRecordDetails',
    name: 'warehousingRecordDetails',
    component: () => import('@/views/productHome/revenue/warehousingRecordDetails.vue'),
    meta: { title: '入库详情', showNavbar: false }
  },
  {
    path: '/listingRecord',
    name: 'listingRecord',
    component: () => import('@/views/productHome/revenue/listingRecord.vue'),
    meta: { title: '上架记录', showNavbar: true, keepAlive: true }
  },
  {
    path: '/shelvesStatusDrtails',
    name: 'shelvesStatusDrtails',
    component: () => import('@/views/productHome/revenue/shelvesStatusDrtails.vue'),
    meta: { title: '上下架详情', showNavbar: false }
  },
  {
    path: '/outboundRecord',
    name: 'outboundRecord',
    component: () => import('@/views/productHome/revenue/outboundRecord.vue'),
    meta: { title: '出库记录', showNavbar: false, keepAlive: true }
  },
  {
    path: '/invalidRecord',
    name: 'invalidRecord',
    component: () => import('@/views/productHome/revenue/invalidRecord.vue'),
    meta: { title: '已作废记录', showNavbar: true, keepAlive: true }
  },
  {
    path: '/outboundRecordDetails',
    name: 'outboundRecordDetails',
    component: () => import('@/views/productHome/revenue/outboundRecordDetails.vue'),
    meta: { title: '出库详情', showNavbar: false }
  },
  {
    path: '/addOutboundSuccess',
    name: 'addOutboundSuccess',
    component: () => import('@/views/productHome/grounding/outbound/addOutboundSuccess.vue'),
    meta: { title: '新增出库', showNavbar: false }
  },
  {
    path: '/inventoryRecord',
    name: 'inventoryRecord',
    component: () => import('@/views/productHome/revenue/inventoryRecord.vue'),
    meta: { title: '盘点记录', showNavbar: false, keepAlive: true }
  },
  {
    path: '/inventoryRecordDetails',
    name: 'inventoryRecordDetails',
    component: () => import('@/views/productHome/revenue/inventoryRecordDetails.vue'),
    meta: { title: '盘点详情', showNavbar: true }
  },
  {
    path: '/transferRecord',
    name: 'transferRecord',
    component: () => import('@/views/productHome/revenue/transferRecord.vue'),
    meta: { title: '调拨记录', showNavbar: true, keepAlive: true }
  },
  {
    path: '/offShelf',
    name: 'offShelf',
    component: () => import('@/views/productHome/revenue/offShelf.vue'),
    meta: { title: '下架记录', showNavbar: true, keepAlive: true }
  },
  {
    path: '/commodityCirculation',
    name: 'commodityCirculation',
    component: () => import('@/views/productHome/grounding/inventoryAllocation/commodityCirculation.vue'),
    meta: { title: '商品流转数据', showNavbar: true }
  },
  {
    path: '/receiveDetails',
    name: 'receiveDetails',
    component: () => import('@/views/productHome/examineApprove/receiveDetails.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/sampleData',
    name: 'SampleData',
    component: () => import('@/views/productHome/sampleData/index.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/sampleDetails/:id',
    name: 'sampleDetails',
    component: () => import('@/views/productHome/sampleData/sampleDetails.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/sampleResponse/:id',
    name: 'sampleResponse',
    component: () => import('@/views/productHome/sampleData/sampleResponse.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/sampleStorage',
    name: 'sampleStorage',
    component: () => import('@/views/productHome/sampleData/sampleStorage.vue'),
    meta: { title: '首页', showNavbar: false }
  }
]

// 运营部路由
export const OperationRoutesList: Array<RouteRecordRaw> = [
  {
    path: '/selectionList',
    name: 'selectionList',
    component: () => import('@/views/operation/operationHomeList/selectionList.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/operationBasicsDetail/:id',
    name: 'operationBasicsDetail',
    component: () => import('@/views/operation/product/operationBasicsDetail.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/researchBasicsDetail/:id',
    name: 'researchBasicsDetail',
    component: () => import('@/views/operation/product/researchBasicsDetail.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/returnProductList',
    name: 'returnProductList',
    component: () => import('@/views/operation/operationHomeList/returnProductList.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/secondmentGoods',
    name: 'secondmentGoods',
    component: () => import('@/views/operation/operationHomeList/secondmentGoods.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/secondmentGoodsHistory',
    name: 'secondmentGoodsHistory',
    component: () => import('@/views/operation/operationHomeList/secondmentGoodsHistory.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/secondmentGoodsDetails',
    name: 'secondmentGoodsDetails',
    component: () => import('@/views/operation/operationHomeList/secondmentGoodsDetails.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/waitReturn',
    name: 'waitReturn',
    component: () => import('@/views/operation/operationHomeList/waitReturn.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/investmentSelection',
    name: 'investmentSelection',
    component: () => import('@/views/operation/operationHomeList/investmentSelection.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/shoppingCart',
    name: 'shoppingCart',
    component: () => import('@/views/operation/operationHomeList/shoppingCart.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/initiateSecondment',
    name: 'initiateSecondment',
    component: () => import('@/views/operation/operationHomeList/initiateSecondment.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/supplyInvitation',
    name: 'supplyInvitation',
    component: () => import('@/views/operation/operationHomeList/supplyInvitation.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/supplyInvitationDetail',
    name: 'supplyInvitationDetail',
    component: () => import('@/views/operation/operationHomeList/supplyInvitationDetail.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/supplyInvitationSuccess',
    name: 'supplyInvitationSuccess',
    component: () => import('@/views/operation/operationHomeList/supplyInvitationSuccess.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: "/operationApproval",
    name: "operationApproval",
    component: () => import("@/views/operation/operateMine/operationApproval/index.vue"),
    meta: { title: "首页", showNavbar: false, keepAlive: true },
  },
  {
    path: '/operationApprovalDetails',
    name: 'operationApprovalDetails',
    component: () => import('@/views/operation/operateMine/operationApproval/operationApprovalDetails.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/sampleProgress',
    name: 'sampleProgress',
    component: () => import('@/views/operation/operateMine/operationApproval/sampleProgress.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/sampleProgressDetail/:id',
    name: 'sampleProgressDetail',
    component: () => import('@/views/operation/operateMine/operationApproval/sampleProgressDetail.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/secondmentGoodsRecord',
    name: 'secondmentGoodsRecord',
    component: () => import('@/views/operation/operationHomeList/secondmentGoodsRecord.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/zsList',
    name: 'zsList',
    component: () => import('@/views/operation/selectedProducts/merchantsDepartment/zsList.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/zsListLook',
    name: 'zsListLook',
    component: () => import('@/views/operation/selectedProducts/merchantsDepartment/zsListLook.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/cpAllList',
    name: 'cpAllList',
    component: () => import('@/views/operation/selectedProducts/productDepartment/cpAllList.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/cpList',
    name: 'cpList',
    component: () => import('@/views/operation/selectedProducts/productDepartment/cpList.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/cpListLook',
    name: 'cpListLook',
    component: () => import('@/views/operation/selectedProducts/productDepartment/cpListLook.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/profile',
    name: 'profile',
    component: () => import('@/views/operation/operateMine/profile/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/feedback',
    name: 'feedback',
    component: () => import('@/views/operation/operateMine/feedback/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/setIndex',
    name: 'setIndex',
    component: () => import('@/views/operation/operateMine/setIndex/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/selectProducts',
    name: 'selectProducts',
    component: () => import('@/views/productList/selectProducts.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/selectProductsDetail',
    name: 'selectProductsDetail',
    component: () => import('@/views/productList/selectProductsDetail.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/secondParticulars/:id',
    name: 'SecondParticulars',
    component: () => import('@/views/operation/product/secondParticulars.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/researchSelection',
    name: 'researchSelection',
    component: () => import('@/views/operation/operationHomeList/researchSelection.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
]

// 一级路由
export const routesList: Array<RouteRecordRaw> = [
  // 核价部
  {
    path: '/approval',
    name: 'approval',
    component: () => import('@/views/approval/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/pendingApproval/:name',
    name: 'pendingApproval',
    component: () => import('@/views/approval/pendingApproval.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/pendingApprovalDetail/:id',
    name: 'pendingApprovalDetail',
    component: () => import('@/views/approval/pendingApprovalDetail.vue'),
    meta: { title: '核价审批', showNavbar: false }
  },
  {
    path: '/pendingApprovalDetailHistory',
    name: 'pendingApprovalDetailHistory',
    component: () => import('@/views/approval/pendingApprovalDetailHistory.vue'),
    meta: { title: '审批历史', showNavbar: true }
  },
  // 品控部
  {
    path: '/qualityControl',
    name: 'qualityControl',
    component: () => import('@/views/qualityControl/index.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/pendingQualityControl/:name',
    name: 'pendingQualityControl',
    component: () => import('@/views/qualityControl/pendingQualityControl.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/pendingQualityControlDetail/:id',
    name: 'pendingQualityControlDetail',
    component: () => import('@/views/qualityControl/pendingQualityControlDetail.vue'),
    meta: { title: '商品详情', showNavbar: false }
  },
  // ios造假
  {
    path: '/forgeDetail/:id',  // ios造假
    name: 'forgeDetail',
    component: () => import('@/views/forge/look/index.vue'),
    meta: { title: '商品详情', showNavbar: false }
  },
  {
    path: '/personalDetails',  // ios造假
    name: 'personalDetails',
    component: () => import('@/views/forge/my/personalDetails.vue'),
    meta: { title: '个人信息', showNavbar: false }
  },
  // 公用
  {
    path: '/detailList',
    name: 'detailList',
    component: () => import('@/views/productHome/productLists/detailList.vue'),
    meta: { title: '商品出入库盘点调拨列表', showNavbar: false }
  },
  {
    path: '/notice',
    name: 'notice',
    component: () => import('@/views/operation/operateMine/notice/index.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/policy',
    name: 'policy',
    component: () => import('@/views/policy/index.vue'),
    meta: { title: '隐私政策', showNavbar: false }
  },
  {
    path: '/userAgreement',
    name: 'userAgreement',
    component: () => import('@/views/policy/userAgreement.vue'),
    meta: { title: '用户协议', showNavbar: false }
  },
  {
    path: '/logisticsTrajectory',
    name: 'logisticsTrajectory',
    component: () => import('@/views/productDetail/logisticsTrajectory.vue'),
    meta: { title: '首页', showNavbar: false, nocache: true }
  },
]

// 研发部路由
export const ResearchRoutesList: Array<RouteRecordRaw> = [
  {
    path: '/researchBriefingProduct',
    name: 'researchBriefingProduct',
    component: () => import('@/views/research/homePage/researchBriefingProduct.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/researchBriefingSupplier',
    name: 'researchBriefingSupplier',
    component: () => import('@/views/research/homePage/researchBriefingSupplier.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/researchAddProduct',
    name: 'researchAddProduct',
    component: () => import('@/views/research/homePage/researchAddProduct.vue'),
    meta: { title: '添加商品', showNavbar: false, nocache: true }
  },
  {
    path: '/researchProductDetail/:id',
    name: 'researchProductDetail',
    component: () => import('@/views/research/researchLists/researchProductDetail.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/researchEditProduct/:id',
    name: 'researchEditProduct',
    component: () => import('@/views/research/researchLists/researchEditProduct.vue'),
    meta: { title: '编辑商品', showNavbar: false }
  },
  {
    path: '/researchAddSupplier',
    name: 'researchAddSupplier',
    component: () => import('@/views/research/homePage/researchAddSupplier.vue'),
    meta: { title: '添加供应商', showNavbar: false }
  },
  {
    path: '/researchAddSupplierClass',
    name: 'researchAddSupplierClass',
    component: () => import('@/views/research/homePage/researchAddSupplierClass.vue'),
    meta: { title: '首页', showNavbar: false }
  },
  {
    path: '/researchAddSupplierClassAdd/:id',
    name: 'researchAddSupplierClassAdd',
    component: () => import('@/views/research/homePage/researchAddSupplierClassAdd.vue'),
    meta: { title: '增类', showNavbar: false }
  },
  {
    path: '/researchSupplierDetail/:id',
    name: 'researchSupplierDetail',
    component: () => import('@/views/research/researchRevenue/researchSupplierDetail.vue'),
    meta: { title: '供应商详情', showNavbar: false }
  },
  {
    path: '/researchEditSupplier/:id',
    name: 'researchEditSupplier',
    component: () => import('@/views/research/researchRevenue/researchEditSupplier.vue'),
    meta: { title: '编辑供应商', showNavbar: true }
  },
  {
    path: '/researchContract',
    name: 'researchContract',
    component: () => import('@/views/research/researchRevenue/researchContract.vue'),
    meta: { title: '合同信息', showNavbar: true }
  },
  {
    path: '/researchExamine',
    name: 'researchExamine',
    component: () => import('@/views/research/mine/researchExamine.vue'),
    meta: { title: '首页', showNavbar: false, nocache: true }
  },
  {
    path: '/researchExamineList',
    name: 'researchExamineList',
    component: () => import('@/views/research/mine/researchExamineList.vue'),
    meta: { title: '首页', showNavbar: false, keepAlive: true }
  },
  {
    path: '/researchmechanismPriceChange',
    name: 'researchmechanismPriceChange',
    component: () => import('@/views/research/researchLists/components/researchmechanismPriceChange.vue'),
    meta: { title: '首页', showNavbar: false, nocache: true }
  },
  {
    path: '/researchApprovalDetails',
    name: 'researchApprovalDetails',
    component: () => import('@/views/research/mine/researchApprovalDetails.vue'),
    meta: { title: '首页', showNavbar: false }
  },
]